class CreateQaDetails < ActiveRecord::Migration
  def self.up
    create_table :qa_details do |t|
      t.string :content
      t.integer :question_id
      t.boolean :is_hand_writing
      t.boolean :is_read
      t.integer :user_id
      t.integer :rely_to
      t.string :image
      t.timestamps
    end
  end

  def self.down
    drop_table :qa_details
  end
end
